home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat1 / eject.z / eject
Encoding:
Text File  |  1998-10-20  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. EEEEJJJJEEEECCCCTTTT((((1111))))                                                              EEEEJJJJEEEECCCCTTTT((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      eject - eject a removable media device
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      eeeejjjjeeeecccctttt [ [ _c_o_n_t_r_o_l_l_e_r__i_d ] _s_c_s_i__i_d [ _l_u_n ] | _d_e_v_i_c_e  | _d_i_r ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      eeeejjjjeeeecccctttt ejects a removable mediad device.  If the device has mounted
  16.      filesystems, eeeejjjjeeeecccctttt will first try to unmount them.
  17.  
  18.      Without any options, eeeejjjjeeeecccctttt will act upon the first device it finds in the
  19.      hardware inventory table.
  20.  
  21. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  22.      _d_e_v_i_c_e
  23.           Specify the device to eject.  The device may be specified using any
  24.           of the names described in the _m_e_d_i_a_d(_1_m) man page.  Note that some
  25.           devices do not support software eject.
  26.  
  27.      _d_i_r  If mmmmeeeeddddiiiiaaaadddd is running, the mount point of the filesystem on the disk
  28.           to be ejected can be specified.
  29.  
  30.      [_c_o_n_t_r_o_l_l_e_r__i_d] _s_c_s_i__i_d
  31.           If mmmmeeeeddddiiiiaaaadddd is running, the controller id and the scsi id of the
  32.           device to be ejected can be specified.  If the controller id is left
  33.           out, it will default to 0.
  34.  
  35. FFFFIIIILLLLEEEESSSS
  36.      /dev/rdsk/fd*  floppy devices
  37.      /dev/scsi/*    generic SCSI devices (for CD-ROM drives)
  38.      /dev/tape      shorthand for the tape device on the system
  39.      /dev/rmt/*     real name for all tape devices on the system
  40.      /etc/fsd.tab   table of devices monitored by mediad
  41.  
  42. EEEERRRRRRRROOOORRRRSSSS
  43.      An error will occur if the specified device does not have a disk in it,
  44.      or if the file system on the disk couldn't be unmounted.
  45.  
  46. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  47.      eject /dev/scsi/sc0d6l0       eject CD-ROM disk (controller 0 SCSI id 6)
  48.      eject /dev/rdsk/fds0d2.3.5    eject floppy disk (controller 0 SCSI id 2)
  49.      eject 0 2                     eject floppy disk (controller 0 SCSI id 2)
  50.      eject 2                       eject floppy disk (controller 0 SCSI id 2)
  51.  
  52.  
  53. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  54.      mediad(1M), mount(1M), umount(1M), ds(7M), smfd(7M)
  55.  
  56. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  57.      The exit codes for eject have the following meanings:
  58.          0 : success
  59.          1 : Incorrect usage.  Check the eject man page.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. EEEEJJJJEEEECCCCTTTT((((1111))))                                                              EEEEJJJJEEEECCCCTTTT((((1111))))
  71.  
  72.  
  73.  
  74.          2 : The drive is busy.  Make sure no programs are using the drive.
  75.          3 : Unable to eject.  Try hardware eject.
  76.          4 : There is no media in the drive.  Make sure you are specifying the
  77.          right drive.
  78.          5 : Software eject not supported.  Use hardware eject.
  79.          6 : No such device.  Check your scsi id, fsname, or dir.
  80.          7 : A system error has occurred.  See /var/adm/SYSLOG for more info.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                         PPPPaaaaggggeeee 2222
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.